/* ── GATE FADE ── */
#gate-fade {
  height: 160px;
  background: linear-gradient(to bottom, transparent, #f7f9fc);
  margin-top: -160px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ── GATE CARD ── */
#gate-card {
  position: relative;
  z-index: 3;
  margin: 0 auto 2.5rem;
  max-width: 560px;
}

.gate-card-inner {
  background: linear-gradient(135deg, #06091c 0%, #0d1535 100%);
  border: 1px solid rgba(51, 88, 196, 0.3);
  border-top: 3px solid #3358c4;
  padding: 2.4rem 2.2rem 2rem;
  box-shadow: 0 0 0 1px rgba(51,88,196,0.06), 0 20px 60px rgba(6,9,30,0.45);
  position: relative;
}

.gate-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51,88,196,0.6), transparent);
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.gate-badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3adc7f;
  box-shadow: 0 0 7px rgba(58,220,127,0.65);
  flex-shrink: 0;
}

.gate-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.gate-headline em {
  font-style: italic;
  color: #4a70e0;
}

.gate-social-proof {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.6rem;
}

.gate-social-proof strong {
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.gate-form { display: flex; flex-direction: column; gap: 0.4rem; }

.gate-input-row { display: flex; gap: 0; }

.gate-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-right: none;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.78rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.gate-input::placeholder { color: rgba(255,255,255,0.28); }

.gate-input:focus {
  border-color: rgba(51,88,196,0.65);
  background: rgba(255,255,255,0.1);
}

.gate-btn {
  background: #3358c4;
  border: 1px solid #3358c4;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.78rem 1.4rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  border-radius: 0;
}

.gate-btn:hover { background: #2845a8; transform: translateY(-1px); }
.gate-btn:active { transform: translateY(0); }

.gate-error {
  font-size: 0.72rem;
  color: #e05555;
  min-height: 1em;
}

.gate-note {
  font-size: 0.67rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  margin-top: 0.9rem;
}

/* ── BLURRED CONTENT ── */
#gate-content.gate-blurred {
  filter: blur(7px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  max-height: 480px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 70%);
}

#gate-content { transition: filter 0.5s ease; }

/* ── MOBILE ── */
@media (max-width: 540px) {
  .gate-card-inner { padding: 1.8rem 1.3rem 1.6rem; }

  .gate-input-row { flex-direction: column; }

  .gate-input {
    border-right: 1px solid rgba(255,255,255,0.14);
    border-bottom: none;
  }

  .gate-btn { padding: 0.82rem 1rem; text-align: center; }

  #gate-content.gate-blurred { max-height: 300px; }

  #gate-fade { height: 100px; margin-top: -100px; }
}
