/* ── Comms Stack Subscription Gate Overlay ─────────────────── */

#cs-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#cs-gate-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 44px 40px 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  text-align: center;
}

#cs-gate-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 18px;
}

#cs-gate-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #06B6D4;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

#cs-gate-card h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1E293B;
  margin: 0 0 10px;
  line-height: 1.3;
}

#cs-gate-card p.cs-gate-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #64748B;
  margin: 0 0 24px;
  line-height: 1.6;
}

#cs-gate-email {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #1E293B;
  margin-bottom: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#cs-gate-email:focus {
  outline: none;
  border-color: #1E40AF;
}

#cs-gate-email::placeholder {
  color: #94A3B8;
}

#cs-gate-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #1E40AF;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-bottom: 18px;
}

#cs-gate-btn:hover:not(:disabled) {
  background: #1d3a9e;
}

#cs-gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#cs-gate-status {
  display: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  line-height: 1.5;
  text-align: left;
}

#cs-gate-status.cs-error {
  display: block;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

#cs-gate-status.cs-success {
  display: block;
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

#cs-gate-status.cs-info {
  display: block;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

#cs-gate-footer {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
}

#cs-gate-footer a {
  color: #1E40AF;
  text-decoration: none;
}

#cs-gate-footer a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 480px) {
  #cs-gate-card {
    padding: 36px 24px 28px;
  }
  #cs-gate-card h2 {
    font-size: 19px;
  }
}
