/* CSS same as previous version */
/* ========== Leadgenesys Pricing - Final (Monthly/Annual switch style) ========== */

.leadgenesys-pricing-section {
  width: 100%;
  padding: 20px 0;
}

.leadgenesys-container {
  max-width: 1200px;
  margin: 0 auto;
}

.leadgenesys-price-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  position: relative;
}

.switch {
  position: relative;
  width: 56px;
  height: 28px;
  display: inline-block;
}
.switch input { display: none; }
.slider {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #d2cfff;
  transition: all 0.3s ease;
}
.slider:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f1724;
  transition: transform 0.3s ease, background 0.3s ease;
}
input:checked + .slider { background: linear-gradient(90deg, #af2622, #af2723); }
input:checked + .slider:before { transform: translateX(28px); background: #fff; }

.leadgenesys-price-toggle small {
  background: yellow;
  color: #000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.leadgenesys-cards {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
}

.leadgenesys-card {
  flex: 1 1 0;
  background: linear-gradient(180deg, #042592 20%, #af2723 100%);
  border-radius: 14px;
  padding: 28px;
  box-sizing: border-box;
  border: 2px solid #fff;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.55);
  min-width: 260px;
}

.leadgenesys-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.75);
}

.leadgenesys-card.featured { border-color: #fff; }

.card-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}

.card-head h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price .period {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
}
.credits-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.credits {
  background: #fff;
  color: #000;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 6px 10px;
  font-weight: 700;
}
.info.modal-trigger,
.modal-trigger,
.modal-trigger.info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,0.05);
  transition: transform .18s ease, background .18s ease, color .18s ease;
  text-decoration: none;
}
.info.modal-trigger:hover,
.modal-trigger:hover {
  transform: scale(1.06);
}
.lg-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin: 14px 0 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #a82521, #af2622);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(175, 39, 35, 0.35);
}
.setup-line {
  font-size: 14px;
  color: #f5f5f5;
  margin-top: 6px;
}
.lg-features {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.lg-features li {
  padding-left: 22px;
  margin: 8px 0;
  position: relative;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 500;
}

.lg-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
}

.lg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.lg-modal {
  width: 100%;
  max-width: 700px;
  background: linear-gradient(180deg, #0b1116, #071018);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.7);
  padding: 20px;
  color: #cbd5e1;
  position: relative;
  animation: lgModalIn .22s ease;
}

@keyframes lgModalIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.lg-modal .modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #e6fdf8;
  font-size: 18px;
  margin-bottom: 10px;
}

.lg-modal .modal-title .spark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffe28a, #ffd0f1);
  color: #051019;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(255, 205, 120, 0.12);
}

.lg-modal .modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
}

.lg-modal .modal-body {
  font-size: 15px;
  line-height: 1.55;
  color: #cbd5e1;
  padding-right: 6px;
}

.lg-modal .modal-body ul {
  padding-left: 18px;
  margin: 8px 0 0 0;
}

.lg-modal .modal-body li {
  margin-bottom: 8px;
}

.lg-modal .modal-link {
  color: #06b6d4;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 900px) {
  .leadgenesys-cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .leadgenesys-card { width: 90%; max-width: 720px; }
}

@media (max-width: 480px) {
  .lg-modal { padding: 16px; max-width: 94%; }
  .lg-modal .modal-title { font-size: 16px; }
  .lg-modal .modal-close { font-size: 20px; top: 8px; right: 8px; }
}

  //========== END CSS Code New Pricing Table ========//