/* ═══════════════════════════════════════════════════════
   SANTICLINIC — WAITLIST SECTION
   Menopausa ebook waiting list
   ═══════════════════════════════════════════════════════ */

/* ── SECTION ─────────────────────────────────────────── */

/* ── SEPARATOR ───────────────────────────────────────── */
.waitlist__separator {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}

.waitlist__separator-line {
  flex: 1;
  height: 1px;
  background: rgba(200,150,90,0.15);
}

.waitlist__separator-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  white-space: nowrap;
}


.waitlist {
  padding: 120px 0;
  background: #f0ebe0;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,158,112,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── GRID ────────────────────────────────────────────── */
.waitlist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── LEFT — BOOK INFO ────────────────────────────────── */
.waitlist__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.waitlist__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.waitlist__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,150,90,0.2);
  max-width: 60px;
}

.waitlist__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.waitlist__title em {
  font-style: italic;
  color: var(--gold-light);
}

.waitlist__subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  margin-bottom: 28px;
}

.waitlist__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.7);
  margin-bottom: 32px;
}

/* bullet list */
.waitlist__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.waitlist__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.5;
}

.waitlist__bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200,150,90,0.15);
  border: 1px solid rgba(200,150,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.waitlist__bullet-icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--gold-light);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* quote */
.waitlist__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-light);
  border-left: 2px solid rgba(200,150,90,0.4);
  padding-left: 20px;
  line-height: 1.6;
  margin: 0;
}

.waitlist__quote cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: rgba(245,240,232,0.4);
  margin-top: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── RIGHT — FORM CARD ───────────────────────────────── */
.waitlist__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 48px 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.waitlist__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(200,150,90,0.6) 30%,
    rgba(200,150,90,0.6) 70%,
    transparent
  );
}

.waitlist__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,150,90,0.12);
  border: 1px solid rgba(200,150,90,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.waitlist__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: wlPulse 2s ease-in-out infinite;
}

@keyframes wlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.waitlist__card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.waitlist__card-sub {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.5);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* form */
.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.waitlist__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.waitlist__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

.waitlist__input-wrap {
  position: relative;
}

.waitlist__input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: rgba(245,240,232,0.3);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.2s ease;
}

.waitlist__input-wrap:focus-within .waitlist__input-icon {
  stroke: var(--gold-light);
}

.waitlist__input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(245,240,232,0.9);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.waitlist__input::placeholder {
  color: rgba(245,240,232,0.25);
}

.waitlist__input:focus {
  border-color: rgba(200,150,90,0.5);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(200,150,90,0.08);
}

/* submit button */
.waitlist__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--dark);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(200,150,90,0.3);
  margin-top: 4px;
}

.waitlist__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,150,90,0.4);
}

.waitlist__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.waitlist__submit svg {
  width: 15px;
  height: 15px;
  stroke: var(--dark);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.waitlist__submit:hover svg {
  transform: translateX(3px);
}

/* privacy note */
.waitlist__privacy {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.3);
  text-align: center;
  line-height: 1.6;
}

/* success state */
.waitlist__success {
  text-align: center;
  padding: 16px 0;
}

.waitlist__success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(45,90,61,0.3);
  border: 2px solid rgba(45,90,61,0.5);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.waitlist__success h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 10px;
}

.waitlist__success p {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
}

/* ── COUNTER ─────────────────────────────────────────── */
.waitlist__counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.waitlist__counter-avatars {
  display: flex;
  gap: -4px;
}

.waitlist__counter-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(30,46,36,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  margin-left: -6px;
  flex-shrink: 0;
}

.waitlist__counter-avatar:first-child { margin-left: 0; background: #2d5a3d; }
.waitlist__counter-avatar:nth-child(2) { background: #3d7a54; }
.waitlist__counter-avatar:nth-child(3) { background: #c8965a; }

.waitlist__counter-text {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.4;
}

.waitlist__counter-text strong {
  color: var(--gold-light);
  font-weight: 500;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .waitlist { padding: 80px 0; }
  .waitlist__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .waitlist__card { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .waitlist { padding: 64px 0; }
  .waitlist__title { font-size: 1.8rem; }
  .waitlist__card { padding: 28px 20px; }
  .waitlist__card-title { font-size: 1.5rem; }
}




/* ── LIGHT THEME OVERRIDES ───────────────────────────── */
.waitlist .waitlist__title       { color: var(--dark); }
.waitlist .waitlist__desc        { color: var(--mid); }
.waitlist .waitlist__subtitle    { color: var(--muted); }
.waitlist .waitlist__bullets li  { color: var(--mid); }
.waitlist .waitlist__quote       { color: var(--green); }
.waitlist .waitlist__quote cite  { color: var(--muted); }
.waitlist .waitlist__eyebrow     { color: var(--gold); }

.waitlist .waitlist__separator-label {
  color: rgba(26,26,24,0.3);
}
.waitlist .waitlist__separator-line {
  background: rgba(200,150,90,0.2);
}

.waitlist .waitlist__card {
  background: #fff;
  border: 1px solid rgba(45,90,61,0.1);
  box-shadow: 0 8px 40px rgba(45,90,61,0.08);
}

.waitlist .waitlist__card-title  { color: var(--dark); }
.waitlist .waitlist__card-sub    { color: var(--muted); }
.waitlist .waitlist__label       { color: var(--mid); }
.waitlist .waitlist__privacy     { color: var(--muted); }

.waitlist .waitlist__input {
  background: #f8f5ef;
  border: 1px solid rgba(45,90,61,0.15);
  color: var(--dark);
}
.waitlist .waitlist__input::placeholder { color: var(--muted); }
.waitlist .waitlist__input:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,90,61,0.08);
}

.waitlist .waitlist__input-icon  { stroke: var(--muted); }
.waitlist .waitlist__input-wrap:focus-within .waitlist__input-icon {
  stroke: var(--green);
}

.waitlist .waitlist__success h4  { color: var(--dark); }
.waitlist .waitlist__success p   { color: var(--mid); }

.waitlist .waitlist__counter-text        { color: var(--muted); }
.waitlist .waitlist__counter-text strong { color: var(--green); }
.waitlist .waitlist__counter {
  border-top: 1px solid rgba(45,90,61,0.08);
}

.waitlist .waitlist__bullet-icon {
  background: rgba(45,90,61,0.08);
  border: 1px solid rgba(45,90,61,0.15);
}
.waitlist .waitlist__bullet-icon svg { stroke: var(--green); }