/* TD-AI érdeklődő popup + zárolt audit szekció */
.tdaiPromo {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tdaiPromo.is-open { display: flex; }
.tdaiPromo__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, 0.78);
  backdrop-filter: blur(6px);
  animation: none;
}
.tdaiPromo__card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 20px;
  padding: 34px 30px 28px;
  text-align: left;
  color: #f2ede4;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(197, 160, 89, 0.22), transparent 60%),
    linear-gradient(165deg, #14110d 0%, #0a0a09 100%);
  border: 1px solid rgba(197, 160, 89, 0.42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(228, 212, 168, 0.08) inset;
  animation: none;
}
@keyframes tdaiPromoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tdaiPromoIn {
  from { opacity: 0; transform: translateY(26px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.tdaiPromo__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #cfc6b4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tdaiPromo__close:hover { background: rgba(197, 160, 89, 0.2); color: #e4d4a8; }
.tdaiPromo__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  background: rgba(197, 160, 89, 0.12);
  color: #e4d4a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tdaiPromo__title {
  margin: 0 0 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(22px, 4.4vw, 28px);
  line-height: 1.22;
  color: #fbf7ef;
  text-align: center;
}
.tdaiPromo__lead {
  margin: 0 auto 18px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.6;
  color: #cdc4b3;
  text-align: center;
}
.tdaiPromo__form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.tdaiPromo__gotcha {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.tdaiPromo__field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #cfc6b4;
}
.tdaiPromo__field span { font-weight: 600; }
.tdaiPromo__field input,
.tdaiPromo__field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #f7f2e7;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
}
.tdaiPromo__field select { cursor: pointer; }
.tdaiPromo__field input:focus,
.tdaiPromo__field select:focus {
  outline: none;
  border-color: rgba(197, 160, 89, 0.65);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.18);
}
.tdaiPromo__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b9ae9a;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}
.tdaiPromo__consent input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #c5a059;
}
.tdaiPromo__consent > span {
  display: block;
  min-width: 0;
  overflow: visible;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.tdaiPromo__consent a {
  color: #e4d4a8;
  text-decoration: underline;
}
.tdaiPromo__submit {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #e4d4a8 0%, #c5a059 55%, #9a7b3e 100%);
  color: #14110d;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.3);
}
.tdaiPromo__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(197, 160, 89, 0.4);
}
.tdaiPromo__submit:disabled { opacity: 0.7; cursor: wait; }
.tdaiPromo__formNote {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  text-align: center;
  color: #a89d8a;
}
.tdaiPromo__formNote.is-success { color: #9fd4a8; }
.tdaiPromo__formNote.is-error { color: #f0a0a0; }
.tdaiPromo__audit {
  border-top: 1px solid rgba(197, 160, 89, 0.22);
  padding-top: 16px;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.tdaiPromo__audit.is-unlocked { opacity: 1; }
.tdaiPromo__auditTitle {
  margin: 0 0 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 15px;
  color: #e4d4a8;
  text-align: center;
}
.tdaiPromo__auditLocked {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #8d8474;
  text-align: center;
}
.tdaiPromo__audit.is-unlocked .tdaiPromo__auditLocked { display: none; }
.tdaiPromo__auditActions {
  display: grid;
  gap: 10px;
}
.tdaiPromo__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(228, 212, 168, 0.22), rgba(197, 160, 89, 0.12));
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: #8d8474;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  pointer-events: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tdaiPromo__audit.is-unlocked .tdaiPromo__call {
  background: linear-gradient(135deg, #e4d4a8 0%, #c5a059 55%, #9a7b3e 100%);
  color: #14110d;
  border-color: transparent;
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.28);
}
.tdaiPromo__audit.is-unlocked .tdaiPromo__call:hover {
  transform: translateY(-1px);
}
.tdaiPromo__altBtn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #8d8474;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tdaiPromo__audit.is-unlocked .tdaiPromo__altBtn {
  color: #e4d4a8;
  cursor: pointer;
}
.tdaiPromo__audit.is-unlocked .tdaiPromo__altBtn:hover:not(:disabled) {
  background: rgba(197, 160, 89, 0.14);
  border-color: rgba(228, 212, 168, 0.7);
}
.tdaiPromo__callNote,
.tdaiPromo__callbackNote {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8d8474;
  text-align: center;
}
.tdaiPromo__dismiss {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: none;
  color: #8d8474;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  width: 100%;
  text-align: center;
}
.tdaiPromo__dismiss:hover { color: #b9ae9a; }

.tdaiPromo__offer {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  box-sizing: border-box;
}
.tdaiPromo__offer strong {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
.tdaiPromo__offer span {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.92;
}
.tdaiPromo__offer--audit,
.tdaiPromo__offer--kit {
  background: linear-gradient(155deg, rgba(72, 52, 24, 0.55), rgba(8, 7, 6, 0.88));
  color: #e4d4b0;
  border: 1px solid rgba(150, 110, 52, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.tdaiPromo__offer--audit:hover,
.tdaiPromo__offer--kit:hover {
  color: #f3e6c8;
  border-color: rgba(184, 140, 70, 0.65);
}
.tdaiPromo--welcome .tdaiPromo__lead {
  margin-bottom: 1.1rem;
  color: #e8dfd0;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .tdaiPromo__card { padding: 30px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .tdaiPromo__backdrop,
  .tdaiPromo__card { animation: none; }
}
