/* ================================================================
   PRODESSE CONTENT GATE  v1.1
   ================================================================ */

.pg-wrap {
  position: relative;
  margin: 40px 0 48px;
}

/* ── Faded preview ───────────────────────────────────────────── */
.pg-preview {
  max-height: 220px;
  overflow: hidden;
  position: relative;
  pointer-events: none;
  user-select: none;
}
.pg-preview::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

/* ── Gate card ───────────────────────────────────────────────── */
.pg-card {
  border-top: 3px solid #004B42;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 32px rgba(0,75,66,.10);
}
.pg-card-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 32px 36px;
  text-align: center;
}

/* Lock icon */
.pg-lock-wrap {
  width: 52px;
  height: 52px;
  background: #F5EFE6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Headline + subtext */
.pg-headline {
  font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: #004B42;
  line-height: 1.2;
  margin: 0 0 10px;
}
.pg-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(0,75,66,.7);
  margin: 0 0 22px;
  line-height: 1.6;
}

/* Bullet list */
.pg-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.pg-bullets li {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #004B42;
  padding-left: 26px;
  position: relative;
  line-height: 1.45;
}
.pg-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: #A3E0B4;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23004B42' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Form */
.pg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.pg-row { display: grid; gap: 12px; }
.pg-row--2 { grid-template-columns: 1fr 1fr; }

.pg-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pg-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #004B42;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pg-field label span { color: #b91c1c; }

.pg-field input,
.pg-field select {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid rgba(0,75,66,.22);
  border-radius: 8px;
  padding: 10px 13px;
  height: 44px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.pg-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23004B42' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}
.pg-field input:focus,
.pg-field select:focus {
  outline: none;
  border-color: #004B42;
  box-shadow: 0 0 0 3px rgba(0,75,66,.1);
}
.pg-field input.pg-invalid,
.pg-field select.pg-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185,28,28,.08);
}

/* Error */
.pg-error {
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.45;
}

/* Submit button */
.pg-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: #004B42;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s, transform .1s;
}
.pg-btn:hover  { background: #003830; }
.pg-btn:active { transform: scale(.98); }
.pg-btn:disabled { opacity: .6; cursor: not-allowed; }

.pg-btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pg-spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes pg-spin { to { transform: rotate(360deg); } }

/* Disclaimer */
.pg-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: rgba(0,75,66,.5);
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.5;
}
.pg-disclaimer a { color: inherit; text-decoration: underline; }

/* Revealed content */
.pg-content--revealed { animation: pg-reveal .35s ease; }
@keyframes pg-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .pg-card-inner { padding: 32px 20px 28px; }
  .pg-row--2 { grid-template-columns: 1fr; }
}
